Tool Mentor: Modifying the TreebrowserPurposeThis tool mentor describes how to modify the treebrowser in the Rational Unified Process. OverviewTo modify the treebrowser: Understand the Treebrowser and the tree.dat file
The left frame contains a treebrowser with links to all pages in the Rational Unified Process online (see picture below). There are two files which controls the behavior of the treebrowser:
Each row in the tree.dat file consists of six fields, separated by a "ñ". For example, a link to a page within the Rational Unified Process folder structure:
and an example of a link to a page outside the Rational Unified Process folder structure. The target-frame field is set to "_blank" to open a new web browser window.
See Treebrowser documentation for details. For a detailed explanation of the tree.dat file, see "The Data File", in the treebrowser documentation. Adding to the Treebrowser
An easy way to modify the Rational Unified Process is to add links to your own material in the treebrowser. For example, the beginning of the tree.dat file in the Rational Unified Process looks as follows:
If you want to entries in the treebrowser you add new rows in the tree.dat. For example, if you want to add an entry at the top-level to "Our Own Process" and a link to a page "Our Design Guidelines" one level below, the tree.dat would look as follows:
Then the Rational Unified Process online would look as follows: Adding Links to Outside Pages
When you add links to pages outside the Rational Unified Process structure, we recommend that these pages are opened in a new web-browser window. (If you do not make the page to be displayed in a new web-browser window it will be displayed in the main frame of the Rational Unified Process online, which may cause the navigation buttons in the Rational Unified Process to create JavaScript errors. The reason for this is that the navigation buttons must have read access to the page.)
<a href="another
page" target="_blank">another pages<a> |
Rational Unified
Process |